package org.wabson.alfresco.translations;

public class ClassPathJarLoaderFactory implements BundleLoaderFactory
{
    
    private String jarPrefix;

	@Override
	public JarBundleLoader createLoader(String id, String basePath) throws BundleLoadingException
	{
		return new ClassPathJarLoader(jarPrefix + id, basePath);
	}

    public String getJarPrefix()
    {
        return jarPrefix;
    }

    public void setJarPrefix(String jarPrefix)
    {
        this.jarPrefix = jarPrefix;
    }

}
